<template>
  <div class="left-container">
    <h3>Left 组件</h3>
    <!-- 渲染 Article 组件 -->
    <Article>
      <template>
        <h3>咏鹅</h3>
      </template>
      <template #author="{ age,gender }">
        <i>骆宾王---{{ age }}---{{ gender }}</i>
      </template>

    </Article>
    
  </div>
</template>

<script>
import Article from './Article.vue'
export default {
  components:{
    Article
  }
}




</script>

<style lang="less">
.left-container {
  padding: 0 20px 20px;
  background-color: orange;
  min-height: 250px;
  flex: 1;
}
</style>
